package com.example.librarymanagementproject2.mapper;


import com.example.librarymanagementproject2.model.entity.User;

/**
 * @InterfaceName LoginMapper
 * @Description TODO
 * @Author Kx
 * @Date 2025/10/10 20:41
 * @Version 1.0
 */
public interface LoginMapper {
    /**
     * @author: kx
     * @date: 2025/9/28 20:28
     * @param user : 用户信息
     * @description: 添加用户
     */
    void addUser(User user);

    /**
     * @author: kx
     * @date: 2025/9/29 15:41
     * @param username : 用户名
     * @description: 用户登录
     */
    User login(String username);
}
